<?php
/* 
 * Copyright (c) 2018-2021   All rights reserved.
 * 
 * 创建时间：2021-11-06 09:24
 *
 * 项目：rm  -  $  - index.php
 *
 * 作者：liwei 
 */

?>


<div class="page <?=\lev\base\Controllerv::$pageName?>" data-page="<?=\lev\base\Controllerv::$pageName?>">

    <div class="navbar navbar-bgcolor-red">
        <div class="navbar-inner">
            <div class="left">
                <a class="link icon-only" href="javascript:window.history.back();">
                    <svg class="icon" aria-hidden="true"><use xlink:href="#fa-back"></use></svg>
                </a>
                <a class="link icon-only" target="_top" href="<?=\modules\levfm\helpers\UrlfmHelper::lists($info['formid'])?>">
                    <svg class="icon" aria-hidden="true"><use xlink:href="#fa-list"></use></svg>
                </a>
            </div>
            <div class="center"><?=$info['srhkey']?></div>
            <div class="right">
                <a class="button-fill button scale8" href="<?=\modules\levfm\helpers\UrlfmHelper::forms($info['id'])?>">
                    <svg class="icon" aria-hidden="true"><use xlink:href="#fa-compose"></use></svg>
                    编辑本条
                </a>
            </div>
        </div>
    </div>


    <div class="page-content">
        <div class="page-content-inner">

            <div class="form-data-view" style="margin:10px">
                <?php foreach ($inputs as $v):?>
                    <div class="input-data-box input-data-<?=$v['inputname']?> inputtype-<?=$v['inputtype']?>">
                        <div class="input-data-title card-header"><?=$v['title']?></div>
                        <div class="input-data-datas">
                        <?=\modules\levfm\widgets\inputs\formatViewDatas::run($v, Lev::arrv($v['inputname'], $datas, ''));?>
                        </div>
                    </div>
                <?php endforeach;?>
            </div>

        </div>

        <?php Lev::footer()?>
    </div>

    <?php Lev::toolbar()?>


<div class="LoadPageAjaxJS">
<script>
</script>
</div>
</div>

